package huzh.app.login;

import java.util.ArrayList;

import huzh.foundation.dao.DAOFactory;
import huzh.foundation.dao.DAOResult;
import huzh.foundation.dao.IDAO;

/**
 *<p>title:TestDaoUtil</p>
 *<p>description:</p>
 * @since 2014-6-12
 * @author huzh
 * @version 1.0
 */
public class TestDaoUtil {
    private static IDAO dao = DAOFactory.getInstance().getDao();
    
    public static ArrayList<Object> testQuery(){
        String sql = "select * from test";
        DAOResult dr = dao.executeSelectSqlClauseByDatabase("xtgldb", "", sql);
        ArrayList<Object> result = dr.getFirstSqlResultList();
        return result;
    }
}
